package cn.itsource.system.service;



import cn.itsource.system.domain.Permission;
import cn.itsource.system.query.PermissionQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void add(Permission permission);
    void update(Permission permission);
    void delete(Long id);
    Permission getOne(Long id);
    List<Permission> getAll();

    void patchDelete(Long[] ids);

    PageInfo<Permission> pageQuery(PermissionQuery query);

  void scanPermission();

}
